'use strict'

class endeat {
    constructor () {
        this.param = ''
    }

    async get (c) {
        let ret=await c.service.psql.query(`select * from eat`);
        c.send(JSON.stringify(ret.rows));
    }
}

module.exports = endeat
